//
//  MZYupdateCollectionViewCell.m
//  WristWatch
//
//  Created by dllo on 15/10/24.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MZYupdateCollectionViewCell.h"

@implementation MZYupdateCollectionViewCell


- (void)dealloc {
    [_upImageView release];
    [_upLabel release];
    
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.upImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height / 1.5 - 10)];
        self.upImageView.layer.shadowColor = [UIColor grayColor].CGColor;
        self.upImageView.layer.shadowOffset = CGSizeMake(10, 10);
        self.upImageView.layer.shadowRadius = 10;
        self.upImageView.layer.shadowOpacity = 100.0;

        [self.contentView addSubview:self.upImageView];
        [_upImageView release];
        
        self.upLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, self.contentView.frame.size.height / 1.5 - 10, self.contentView.frame.size.width, self.contentView.frame.size.height / 2 - 10)];
        self.upLabel.font = [UIFont systemFontOfSize:13];
        self.upLabel.alpha = 0.5;
        self.upLabel.numberOfLines = 0;
        [self.contentView addSubview:self.upLabel];
        
        self.upLabel.layer.shadowColor = [UIColor blackColor].CGColor;
        self.upLabel.layer.shadowOffset = CGSizeMake(0, 0);
        self.upLabel.layer.shadowRadius = 10;
        self.upLabel.layer.shadowOpacity = 100.0;
        [_upLabel release];
    }
    return self;
}












@end
